// license-header java merge-point
/**
 * This is only generated once! It will never be overwritten.
 * You can (and have to!) safely modify it by hand.
 */
package com.jrsystems.tsasetso.thamalakane;
/**
 * @see com.jrsystems.tsasetso.thamalakane.Thai
 */
public class ThaiDaoImpl
    extends com.jrsystems.tsasetso.thamalakane.ThaiDaoBase
{
    /**
     * @see com.jrsystems.tsasetso.thamalakane.ThaiDao#toThaiVO(com.jrsystems.tsasetso.thamalakane.Thai, com.jrsystems.tsasetso.thamalakane.vo.ThaiVO)
     */
    public void toThaiVO(
        com.jrsystems.tsasetso.thamalakane.Thai source,
        com.jrsystems.tsasetso.thamalakane.vo.ThaiVO target)
    {
        // @todo verify behavior of toThaiVO
        super.toThaiVO(source, target);
    }


    /**
     * @see com.jrsystems.tsasetso.thamalakane.ThaiDao#toThaiVO(com.jrsystems.tsasetso.thamalakane.Thai)
     */
    public com.jrsystems.tsasetso.thamalakane.vo.ThaiVO toThaiVO(final com.jrsystems.tsasetso.thamalakane.Thai entity)
    {
        // @todo verify behavior of toThaiVO
        return super.toThaiVO(entity);
    }


    /**
     * Retrieves the entity object that is associated with the specified value object
     * from the object store. If no such entity object exists in the object store,
     * a new, blank entity is created
     */
    private com.jrsystems.tsasetso.thamalakane.Thai loadThaiFromThaiVO(com.jrsystems.tsasetso.thamalakane.vo.ThaiVO thaiVO)
    {
        // @todo implement loadThaiFromThaiVO
        throw new java.lang.UnsupportedOperationException("com.jrsystems.tsasetso.thamalakane.loadThaiFromThaiVO(com.jrsystems.tsasetso.thamalakane.vo.ThaiVO) not yet implemented.");

        /* A typical implementation looks like this:
        com.jrsystems.tsasetso.thamalakane.Thai thai = this.load(thaiVO.getId());
        if (thai == null)
        {
            thai = com.jrsystems.tsasetso.thamalakane.Thai.Factory.newInstance();
        }
        return thai;
        */
    }

    
    /**
     * @see com.jrsystems.tsasetso.thamalakane.ThaiDao#thaiVOToEntity(com.jrsystems.tsasetso.thamalakane.vo.ThaiVO)
     */
    public com.jrsystems.tsasetso.thamalakane.Thai thaiVOToEntity(com.jrsystems.tsasetso.thamalakane.vo.ThaiVO thaiVO)
    {
        // @todo verify behavior of thaiVOToEntity
        com.jrsystems.tsasetso.thamalakane.Thai entity = this.loadThaiFromThaiVO(thaiVO);
        this.thaiVOToEntity(thaiVO, entity, true);
        return entity;
    }


    /**
     * @see com.jrsystems.tsasetso.thamalakane.ThaiDao#thaiVOToEntity(com.jrsystems.tsasetso.thamalakane.vo.ThaiVO, com.jrsystems.tsasetso.thamalakane.Thai)
     */
    public void thaiVOToEntity(
        com.jrsystems.tsasetso.thamalakane.vo.ThaiVO source,
        com.jrsystems.tsasetso.thamalakane.Thai target,
        boolean copyIfNull)
    {
        // @todo verify behavior of thaiVOToEntity
        super.thaiVOToEntity(source, target, copyIfNull);
    }

}